import { AcceptType } from "@/stores/low-editor-comps-conf";
export const accept: AcceptType<"body"> = {
  body:["FormItem"],
}

export const setter = [
  {
    key: "basicProps",
    label: "基本属性",
    children: [
      {
        name: "title",
        label: "标题",
        type: "input",
      },
      {
        name: "gutter",
        label: "栅格间隔",
        type: "inputNumber",
      },
      {
        name: "layout",
        label: "布局",
        type: "radio",
        defaultValue: "end",
        options: [
          { label: "水平", value: "horizontal" },
          { label: "垂直", value: "vertical" },
          { label: "内联", value: "inline" },
        ],
      },
    ],
  },
];

export const methods = [
  {
    name: "submit",
    label: "提交",
  },
];

export const events = [
  {
    name: "onFinish",
    label: "提交",
  },
];
